<template>
  <div class="welcome">
    <h1>欢迎来到主界面-{{msg}}</h1>
    <!--<el-button>去登录</el-button>-->
    <router-link to="/login">去登录</router-link>
  </div>
</template>

<!--<script setup>
import { defineProps, reactive } from 'vue'

defineProps({
  msg: String
})

const state = reactive({ count: 0 })
</script>-->
<script>
export default {
  name:'welcome',
  props:['msg'],
  setup(){

  }
}
</script>

<style scoped>
/*.welcome {
  background: #fff;
  height: 100%;
}*/
</style>
